import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import './assets/css/global.css'
import ElementUI from 'element-ui';
import axios from 'axios'

axios.defaults.baseURL = '/'; 
// axios.interceptors.request.use(config => {
//     config.headers.Authorization = window.sessionStorage.getItem("token");
//     return config;
// })
Vue.prototype.$http = axios;
Vue.config.productionTip = false;
Vue.use(ElementUI);

console.log('context', require.context('./', true, /\.js$/).keys())
console.log('req', require.context, 'ceshifanhui')
console.log(require("path"));

new Vue({
    router,
    render: h => h(App)
}).$mount('#app')
